package com.titan.single.liteflow;

import com.titan.single.vo.BaseRequest;
import com.yomahub.liteflow.annotation.LiteflowComponent;
import com.yomahub.liteflow.core.NodeComponent;
import lombok.extern.slf4j.Slf4j;

/**
 * 规则flowA
 */
@LiteflowComponent(id = "bbb", name = "预处理B")
@Slf4j
public class Bbb extends NodeComponent {


    @Override
    public void process() throws Exception {
        log.info("已进入bbb节点");
        BaseRequest request =  this.getRequestData();
        // 预处理 赋值
        request.setId("2");

        request.getRecord().add("已进入bbb");
    }



}
